package org.iplugin.version.handler;

import org.iplugin.version.IVersionAbstractUpdateMojo;
import org.iplugin.version.model.IModifiedPomVersion;

/**
 * 　　* @Description: abstract version update handler
 * 　　* @author shangyouzhi1
 * 　　* @date 2022/11/27 15:24
 *
 */
public abstract class IVersionUpdateAbstractHandler extends IVersionAbstractUpdateMojo {


    private IVersionUpdateAbstractHandler nextHandler;

    public IVersionUpdateAbstractHandler getNextHandler() {
        return nextHandler;
    }

    public void setNextHandler(IVersionUpdateAbstractHandler nextHandler) {
        this.nextHandler = nextHandler;
    }

    /**
     * version update
     *
     * @param modifiedPomVersion
     */
    public abstract void updateVersion(IModifiedPomVersion modifiedPomVersion);

}
